package com.ebocy.hammer.battle.fight.message;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractC2SMessage;

public class C2SPrepareCombatMessage  extends AbstractC2SMessage {
	private long gamePlayerId;
	private int roomId;
	private String mapName;

	@Override
	public short getMessageCode() {
		return GameMessageCode.BATTLE_PREPARE_COMBAT;
	}

	@Override
	public void readMessage() {
		this.gamePlayerId = Long.parseLong(readString());
		this.roomId = readInt();
		this.mapName = readString();
	}

	public long getGamePlayerId() {
		return gamePlayerId;
	}

	public int getRoomId() {
		return roomId;
	}

	public String getMapName() {
		return mapName;
	}
}
